This lesson presents a complete proof of the derivative of the exponential function \( a^x \), where \( a>0 \) and \( a\neq1 \). We also derive the formula for the composite exponential function \( a^{u(x)} \) using the chain rule and provide worked examples.
Let
\[ y=a^x , \qquad a>0,\; a\neq1 \]Take the natural logarithm of both sides:
\[ \ln y=\ln(a^x) \]Using the logarithmic identity \( \ln(a^x)=x\ln a \), we obtain
\[ \ln y=x\ln a \]Differentiate both sides with respect to \( x \):
\[ \frac{d}{dx}(\ln y)=\frac{d}{dx}(x\ln a) \]Apply the chain rule to the left side:
\[ \frac{1}{y}\frac{dy}{dx}=\ln a \]Multiply both sides by \( y \):
\[ \frac{dy}{dx}=y\ln a \]Substitute \( y=a^x \):
\[ \boxed{\frac{d}{dx}\left(a^x\right)=(\ln a)\,a^x} \]Let \( u=u(x) \). By the chain rule,
\[ \frac{d}{dx}\left(a^{u(x)}\right)=\frac{d(a^u)}{du}\frac{du}{dx} \]Using the previous result,
\[ \frac{d(a^u)}{du}=(\ln a)a^u \]Therefore,
\[ \boxed{\frac{d}{dx}\left(a^{u(x)}\right)=(\ln a)\,a^{u(x)}\,\frac{du}{dx}} \]Find the derivatives: